package Test06;

//字符打印流

import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

public class Test33 {
    public static void main(String[] args) throws IOException {

        PrintWriter pw = new PrintWriter(new FileWriter("D:\\工作\\src\\b.txt"), true);

        pw.println("今天你终于叫我名字了，虽然叫错了，但是没关系，我马上改");
        pw.print("你好你好");
        pw.printf("%s爱上了%s", "阿珍", "阿强");

        pw.close();

    }
}
